<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<META NAME="GENERATOR" CONTENT="Adobe FrameMaker 7.0/HTML Export Filter">
<LINK REL="STYLESHEET" HREF="KDM_1.0_10_kdmpkg.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE> 10	KDM Package</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<DIV>
<H6 CLASS="Heading">
<A NAME="pgfId-998826"></A><A NAME="58728"></A>KDM Package</H6>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1086553"></A>Overview</H3>
<P CLASS="Body">
<A NAME="pgfId-1089677"></A>The Kdm package defines key infrastructure elements that determine patterns for constructing KDM representations of existing software systems. KDM representations (also referred to as KDM instances) are instances of the KDM (which is a meta-model), where each KDM element represents a certain element of the existing system. Although in the technical sense, KDM instance is a model of the corresponding existing software system, KDM instance is not a model that represents constraints, like the ones used during the design phase, rather, this is an intermediate representation that captures precise knowledge about the application.</P>
<P CLASS="Body">
<A NAME="pgfId-1089679"></A>Implementers of KDM tools are responsible for defining a mapping from the elements of programming languages, runtime platforms, and other artifacts of existing software systems into KDM elements, using semantic description and implementer's guidelines of this specification. Kdm package describes several infrastructure elements which are present in each KDM instance. Together with the elements defined in the Core package these elements constitute the so-called KDM framework. The remaining KDM packages provide meta-model elements that represent the artifacts of existing systems. </P>
<P CLASS="Body">
<A NAME="pgfId-1089680"></A>Each KDM package follows a uniform meta-model pattern for extending the KDM framework (the Framework Extension meta-model pattern). KDM Framework is part of the KDM Infrastructure together with the elements defined in the Source package.</P>
<P CLASS="Body">
<A NAME="pgfId-1088100"></A> &nbsp;</P>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1088104"></A><A NAME="_Toc119735825"></A><A NAME="_Toc119728771"></A><A NAME="_Toc131848169"></A>Organization of the Kdm Package</H3>
<P CLASS="Body">
<A NAME="pgfId-1089689"></A>The Kdm package is a collection of classes and associations that define the overall structure of KDM instances. From the infrastructure perspective, KDM instances are organized into segments and then further into specific models. There are 9 kinds of models, corresponding to some well-known concerns of software engineering. From the architectural perspective, each KDM model represents a particular view of the existing system. From the infrastructure perspective, a KDM model is a typed container for model element instances. From the meta-model perspective, KDM model is represented by a separate package that defines a collection of the meta-model elements, which can be used to build representations of the particular view of existing systems. KDM framework defines a common superclass model element for all models - the KDMModel class. KDM specification uses the term &quot;KDM model&quot; to refer both to a meta-model element corresponding to a particular model kind and to a particular instance of such element in a concrete representation of some existing system. Explicit disambiguation (KDM model meta-model element vs. KDM model instance) will be provided when necessary. </P>
<P CLASS="Body">
<A NAME="pgfId-1089690"></A>KDM model is the key unit of a KDM instance. KDM segment can own one or more models. A segment is a minimal unit of exchange in the KDM ecosystem. Segments can be nested.</P>
<P CLASS="Body">
<A NAME="pgfId-1089691"></A>Implementer's responsibility is to provide an adequate partitioning of the KDM instance into multiple models and segments.</P>
<P CLASS="Body">
<A NAME="pgfId-1088106"></A> A segment is a coherent collection of one or more related models that represents a self-contained perspective on the artifacts of the existing system. It is expected that a complete segment is extracted as a unit. It is expected that each model segment describe artifacts that involve a single programming language and a single platform.</P>
<P CLASS="Body">
<A NAME="pgfId-1088107"></A>An enterprise application may involve multiple segments that are exported by separate extractor tools, and may need to be integrated to provide a coherent holistic view.</P>
<P CLASS="Body">
<A NAME="pgfId-1088112"></A>The Kdm package consists of the following 5 class diagrams:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089648"></A>Framework - defines the basic elements of the kdm framework.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089650"></A>Audit -defines audit information for KDM model elements.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089660"></A>Annotations - provides user-defined attributes and annotations to the modeling elements</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089651"></A>Extensions - a class diagram that defines the overall organization of the light-weight extension mechanism of KDM</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089665"></A>ExtendedValues - the tagged values used by the light-weight extension mechanism</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1088117"></A>The Kdm package depends only on the Core package.</P>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1088132"></A>	<A NAME="_Toc131848170"></A>Framework Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1088133"></A>The Framework class diagram defines the meta-model elements that constitute the so-called KDM Framework: a collection of KDM models organized into nested segments. These meta-model elements determine the structure of KDM instances. </P>
<P CLASS="Body">
<A NAME="pgfId-1086703"></A>The classes and association of the Framework diagram are shown in <A HREF="KDM_1.0_10_kdmpkg.htm#34685" CLASS="XRef">See - Framework Class Diagram.</A>. </P>
<P CLASS="Body">
<A NAME="pgfId-1085507"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_10_kdmpkg-1.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption1">
<A NAME="pgfId-1086566"></A><A NAME="34685"></A>- Framework Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088235"></A><A NAME="_Toc131848171"></A>KDMFramework Class (abstract)</H4>
<P CLASS="Body">
<A NAME="pgfId-1088236"></A>The KDMFramework meta-model element is an abstract class that describes the common properties of all KDM Framework elements. KDMFramework class is extended by KDMSegment and KDMModel classes. Each KDM Framework is the container for KDM light-weight extensions (extension property). The KDM extension mechanism is described further in this chapter. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088238"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088239"></A>ModelElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088241"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1088247"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088244"></A>name: String [0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088246"></A>The name of the framework element.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088249"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1088255"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088252"></A>extension: ExtensionFamily [0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088254"></A>Extensions for the current model segment.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088257"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088259"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089747"></A>Concrete instances of the KDM Framework meta-model elements define the organization of the KDM instance. It is the implementer's responsibility </P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089748"></A>to arrange instances of the KDM model elements into models (constrained only by the definition of each model)</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089749"></A>to arrange KDM models into one or more segments</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089750"></A>to provide names to KDM models and KDM segments</LI>
</UL>
<P CLASS="paragraph">
<A NAME="pgfId-1089752"></A>The implementers of KDM import tools should not make any assumptions about the organization of KDM instances.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089745"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088264"></A><A NAME="_Toc131848172"></A>KDMModel Class (abstract)</H4>
<P CLASS="Body">
<A NAME="pgfId-1088267"></A>A KDM model corresponds to a one of the well-known architecture views of software systems. KDM defines several concrete subclasses of the KDMModel class.</P>
<P CLASS="Body">
<A NAME="pgfId-1089766"></A>From the meta-model perspective, KDMModel extends the Element class. Each concrete KDM model follows the so-called Framework Extension meta-model pattern. This pattern involves the following naming conventions. Lets' assume that &quot;foo&quot; is the name of the KDM model. The following rules describe the Framework Extension meta-model pattern:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089767"></A>The meta-model elements for KDM model &quot;foo&quot; are described in a separate package, called &quot;foo&quot;.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089768"></A>The package defines a concrete subclass of the KDMModel, called &quot;FooModel&quot;. </LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089769"></A>The package defines a common abstract parent for all KDM entities specific to this KDM model, called &quot;AbstractFooElement&quot;. This class extends the KDMEntity class from the Core package.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089770"></A>The package defines a common abstract parent for all KDM relationship specific to this KDM model, called &quot;AbstractFooRelationship&quot;. This class extends KDMRelationship class from the Core package</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089771"></A>Class &quot;FooModel&quot; owns class &quot;AbstractFooElement&quot;. This association subsets the association between the KDMModel and KDMEntity defined at the Framework class diagram.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1090158"></A>Class &quot;AbstractFooElement&quot; owns zero or more AbstractFooRelationship elements</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089772"></A>The package &quot;foo&quot; includes a &quot;FooInheritances&quot; class diagram, describing inheritances of &quot;FooModel&quot;, &quot;AbstractFooElement&quot; and &quot;AbstractFooRelationship&quot; classes, as well any other common properties related to the KDM Infrastructure, such as properties related to the Source package.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1090159"></A>The package &quot;foo&quot; includes &quot;ExtendedFooElements&quot; diagram which defines two generic meta-model elements &quot;FooElement&quot; and &quot;FooRelationship&quot;. These meta-model elements are extension points to package &quot;foo&quot;.</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1088269"></A>&nbsp;</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088271"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088272"></A>KDMFramework</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088274"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1088288"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088277"></A>ownedElement: KDMEntity[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088279"></A>Instances of KDM entities owned by the model. Each KDM model defines specific subclasses of KDMEntity class.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1088285"></A>aggregatedRelation:AggregatedRelationship[0..*]</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088287"></A>Instances of KDM aggregated relations owned by the model.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088290"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088292"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089781"></A>It is the implementer's responsibility to arrange instances of the KDM model elements into models (constrained only by the definition of each model) and to provide name attributes for each KDM model instance. A KDM model instance may be empty or may contain one or more instances of the elements allowed for this KDM model. A particular KDM instance may contains no KDM models of a given kind, or several such models.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089782"></A>In general, KDM does not constrain associations between instances across KDM models or across KDM segments. </P>
<P CLASS="paragraph">
<A NAME="pgfId-1089783"></A>Usually, KDM models corresponding to the KDM Resource Layer and Abstractions Layer have associations to the models in KDM Program Elements and Infrastructure layer. There should be no associations from the Program Elements and Infrastructure layer models to Resource and Abstractions layer models.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089785"></A>The implementers of KDM import tools should not make any assumptions regarding the organization of the content into KDM models.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1090381"></A><A NAME="_Toc131848148"></A>KDMEntity (additional properties)</H4>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090390"></A>Operations</H6>
<P CLASS="Body">
<A NAME="pgfId-1090404"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1090393"></A>getModel(): KDMModel[0..1]</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1090395"></A>This operation returns the KDM model which owns the current KDM Entity </P>
</TD>
</TR>
</TABLE>
<P CLASS="paragraph">
<A NAME="pgfId-1089779"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1089528"></A><A NAME="_Toc131848173"></A>Segment Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1089529"></A>The Segment element represents a coherent set of logically related KDM models that together provide a useful view of an existing software system. Segment is a unit of exchange between the tools of the KDM ecosystem. Segment without owners is the top segment of the KDM model.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089530"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088299"></A>KDMFramework</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089539"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1089545"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089542"></A>segment: Segment[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089544"></A>Instances of KDM entities owned by the model. Each KDM model defines specific subclasses of KDMEntity class.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089575"></A>model[0..*]:KDMModel </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089577"></A>the set of KDM models owned by the current segment. Each KDM model defines KDM entities representing a certain view of the existing software system. Each KDM model defines specific meta-model elements</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089546"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089547"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089811"></A>It is the implementer's responsibility to arrange KDM models into segments and to provide name attributes for each KDM segment instance. A KDM segment instance may be empty or may not contain KDM models of a given kind or may contain one or more KDM models of a given kind. </P>
<P CLASS="paragraph">
<A NAME="pgfId-1089812"></A>In general, KDM does not constrain associations between instances across KDM models or across KDM segments. </P>
<P CLASS="paragraph">
<A NAME="pgfId-1089814"></A>KDM meta-model patterns make is possible to arrange KDM instances in such a way that the models in KDM Program Elements and Infrastructure layers are placed in a separate KDM segment, which becomes a reusable asset for multiple derivative models from the Program Elements and Infrastructure layer.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089816"></A>The implementers of KDM import tools should not make any assumptions regarding the organization of the KDM models into KDM segments.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089955"></A>Example:</H6>
<P CLASS="example">
<A NAME="pgfId-1089958"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089959"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090294"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090295"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090296"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090297"></A>	xmlns:source=&quot;http://kdm.omg.org/source&quot; name=&quot;Framework Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089960"></A>  &lt;audit xmi:id=&quot;id.0&quot; description=&quot;Illustration of KDM Framework&quot; author=&quot;KDM FTF&quot; date=&quot;04-03-2007&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089961"></A>    &lt;attribute xmi:id=&quot;id.1&quot; tag=&quot;approved&quot; value=&quot;yes&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089962"></A>  &lt;/audit&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089963"></A>  &lt;segment xmi:id=&quot;id.2&quot; name=&quot;foobar&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089964"></A>  &lt;model xmi:id=&quot;id.3&quot; xmi:type=&quot;code:CodeModel&quot; name=&quot;foo&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089965"></A>    &lt;annotation xmi:id=&quot;id.4&quot; text=&quot;This is a sample instance of a Code model&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089966"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089967"></A>  &lt;model xmi:id=&quot;id.5&quot; xmi:type=&quot;source:InventoryModel&quot; name=&quot;bar&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089968"></A>    &lt;annotation xmi:id=&quot;id.6&quot; text=&quot;This is a sample of an Inventory model&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089969"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1089956"></A>&lt;/kdm:Segment&gt;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1088553"></A><A NAME="_Toc131848177"></A>Audit Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1088555"></A>The Audit class diagram defines meta-model elements to represent some extra &quot;audit&quot; information related to the KDM framework elements (models and segments).</P>
<P CLASS="Body">
<A NAME="pgfId-1087927"></A>The classes and associations of the Audit class diagram are shown in <A HREF="KDM_1.0_10_kdmpkg.htm#32331" CLASS="XRef">See - Audit Class Diagram.</A>. </P>
<P CLASS="Body">
<A NAME="pgfId-1088496"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_10_kdmpkg-2.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1088607"></A><A NAME="32331"></A>- Audit Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088621"></A><A NAME="_Toc131848178"></A>Audit Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1088622"></A>Audit class represents basic audit information associated with KDM models.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088624"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088625"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088627"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1088641"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088630"></A>description:String </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088632"></A>Contains the description of the model element.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088634"></A>author:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088636"></A>Contains the name of the person who has created the model element, or the name of the tool that was used to create the model element.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088638"></A>date:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088640"></A>Contains the date when the model element was created, in &quot;dd-mm-yyyy&quot; format.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088644"></A>Constraints</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1090009"></A>date should be represented in &quot;dd-mm-yyyy&quot; format</LI>
</OL>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088646"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089832"></A>The Audit element provides some extra &quot;audit&quot; information in the form of human readable text.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089833"></A>Each Framework element can have zero or more Audit instances associated with it. The collection of Audit elements is not ordered however the data property can be used to establish the temporal ordering. The Date format is &quot;dd-mm-yyyy&quot;, where &quot;dd&quot; is the date, the &quot;mm&quot; is the number of the month, with leading zero, if needed, and &quot;yyyy&quot; is the year. For example, &quot;04-03-2007&quot; corresponds to the &quot;4th of March 2007&quot;.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089834"></A>It is the implementer's and the analyst's responsibility to provide the content of the Audit element.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089835"></A>KDM does not constrain the &quot;description&quot; attribute.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089986"></A>The implementers of KDM import tools should not make any assumptions regarding the content of the Audit element, other than the &quot;human-readable text&quot;. It is however expected that at least one Audit element is related to the origin of the model or segment.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089996"></A>Audit element can be own Annotation elements and Attribute elements.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089987"></A>Example:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089992"></A>see example in the KDMFramework section.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088649"></A><A NAME="_Toc131848179"></A>KDMFramework (additional properties)</H4>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088651"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1088657"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088654"></A>audit:Audit[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088656"></A>The list of Audit element instances for the given instance of KDMFramework (segment or model)</P>
</TD>
</TR>
</TABLE>
<P CLASS="paragraph">
<A NAME="pgfId-1089997"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1088830"></A><A NAME="_Toc119735814"></A><A NAME="_Toc119728760"></A><A NAME="_Toc131848157"></A>Extensions Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1089843"></A>The Extensions class diagram defines the meta-model elements that constitute the basis of the KDM light-weight extensions mechanism. Some additional meta-model elements are defined by the ExtendedValues class diagram.</P>
<P CLASS="Body">
<A NAME="pgfId-1089844"></A>The KDM light-weight extension mechanism is a standard way of adding new &quot;virtual&quot; meta-model elements to KDM. A &quot;virtual&quot; meta-model element is a base meta-model element with extended meaning, and possibly with extended attributes. The base meta-model element can be a &quot;regular&quot; element (a concrete class, not marked as &quot;generic&quot;), or &quot;generic&quot; (concrete class with under specified semantics, marked as &quot;generic&quot;). This mechanism is defined as part of KDM. The light-weight extensions mechanism allows introducing new &quot;extended&quot; meta-model element kinds (called stereotypes). The exact meaning and the intention of the &quot;extended&quot; meta-model elements is outside of KDM and should be communicated by implementers to the users of the extended representations.</P>
<P CLASS="Body">
<A NAME="pgfId-1089845"></A>The light-weight extension mechanism provides the following capabilities:</P>
<P CLASS="Body">
<A NAME="pgfId-1089846"></A>1)	define a stereotype (introduce the partial kind of a meta-model element)</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1090164"></A>a stereotype definition includes the name of class of the allowed base elements. This class can be a particular concrete meta-model element, a generic element or an abstract meta-model element</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1089847"></A>2)	define tags associated with a stereotype. Tags are additional attributes to the extended elements. Tag definition includes the name of the extended attribute and the name of the type of the element (represented as a string). Values of extended attributes can take the form of a string, or reference to some modeling element. Each stereotype defines its own set of tags. Tag definitions are owned by the corresponding stereotype definition.</P>
<P CLASS="Body">
<A NAME="pgfId-1089848"></A>3)	organize stereotype definitions into stereotype families. Stereotype families are owned by KDM Framework elements (KDM models and segments)</P>
<P CLASS="Body">
<A NAME="pgfId-1089849"></A>4)	use extended model elements in KDM instances by using the base meta-model element instance with one or more stereotypes</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089850"></A>concrete tag values can be added to the &quot;virtual&quot; element if the stereotype defines tags</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089851"></A>each tag value is associated with the corresponding tag definition</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1089852"></A>The complete kind of the new element is defined as the union of all stereotypes added to the element</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1089854"></A>When added to a KDM model element, a stereotype provides additional semantic details to the base meta-model element. Stereotypes should not change the semantics of the base element.</P>
<P CLASS="Body">
<A NAME="pgfId-1089856"></A>KDM supports the light-weight extension mechanism through a Generic Element meta-model pattern. KDM defines a relatively large number of concrete meta-model elements with under specified semantic. In KDM these elements are the common superclasses for classes with specific semantics. However, generic elements can be used as extension points of the light-weight extension mechanism by using them in KDM instances with a stereotype. In addition, each KDM model defines two &quot;wildcard&quot; generic elements: a generic entity and a generic relationship for the given KDM model. They too can be used as extension points. </P>
<P CLASS="Body">
<A NAME="pgfId-1090179"></A>Pure KDM instances should use only concrete meta-model elements which have semantics specified in KDM, without stereotypes. KDM instances which use stereotypes are called extended KDM instances. Extended KDM instances can add stereotypes to concrete meta-model elements.</P>
<P CLASS="Body">
<A NAME="pgfId-1089858"></A>KDM light-weight extension mechanism does not support multiplicity of tags, constraints on tags, relationships between tags or stereotypes. It is the implementer's responsibility to select the most specific extension points, by defining stereotypes in such a way that they use the base elements with the most specific semantic description (closer to the bottom of the KDM class hierarchy).</P>
<P CLASS="Body">
<A NAME="pgfId-1088835"></A>The classes and associations of the Extensions diagram are shown in <A HREF="KDM_1.0_10_kdmpkg.htm#75201" CLASS="XRef">See - Extensions Class Diagram.</A>.</P>
<P CLASS="Body">
<A NAME="pgfId-1088839"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_10_kdmpkg-3.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1088841"></A><A NAME="75201"></A>- Extensions Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088843"></A><A NAME="_Toc131848158"></A>Stereotype Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1088844"></A>The stereotype concept provides a way of branding (classifying) model elements so that they behave as if they were the instances of new virtual meta-model constructs. These model elements have the same structure (attributes, associations, operations) as similar non-stereotyped model elements of the same kind. The stereotype may specify additional required tagged values that apply to model elements. In addition, a stereotype may be used to indicate a difference in meaning or usage between two model elements with identical structure.</P>
<P CLASS="Body">
<A NAME="pgfId-1088845"></A>In the meta-model the Stereotype is a subclass of ModelElement. Stereotype is a named model element. TaggedValues attached to a Stereotype apply to all ModelElements branded by that Stereotype.</P>
<P CLASS="Body">
<A NAME="pgfId-1088846"></A>A Stereotype specifies the name of the base class to which is can be added. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088847"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088848"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088849"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1088859"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088856"></A>name:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088858"></A>Specifies the name of the stereotype.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089890"></A>type:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089892"></A>Specifies the name of the model element to which the stereotype applies.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088860"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1088866"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088863"></A>tag:TagDefinition[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088865"></A>Stereotype owns the set of tag definitions that determine the additional tagged values associated with the model elements that are branded with the given stereotype.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
<A NAME="pgfId-1088867"></A>&nbsp;</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088870"></A>Constraints</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1088871"></A>Tags associated with model element should not clash with any meta attributes associated with this model element.</LI>
<LI CLASS="List1-">
<A NAME="pgfId-1088872"></A>A model element should have at most one tagged value with a given tag name.</LI>
<LI CLASS="List1-">
<A NAME="pgfId-1088873"></A>A stereotype should not extend itself.</LI>
<LI CLASS="List1-">
<A NAME="pgfId-1088874"></A>A Stereotype can be added to ModelElement if its class is the same as the baseClass, or one of its subclasses</LI>
<LI CLASS="List1-">
<A NAME="pgfId-1089875"></A>The values of the Type attribute of the TagDefinition are restricted to the names of the KDM meta-elements. Names of the core datatypes (&quot;Boolean&quot;, &quot;String&quot;, &quot;Integer&quot;) define attributes of the extended meta-model element. The corresponding values are represented as instances of the TaggedValue class. Names of other KDM meta-elements (for example, &quot;KDMEntity&quot;, or &quot;Audit&quot;) define associations of the extended meta-element and the corresponding values are represented as instances of the TaggedRef class.</LI>
</OL>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088875"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089901"></A>Stereotypes should not change the semantics of the base meta-model element.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089902"></A>A KDM model element with one or more stereotypes has the semantics of the base element with some additional semantic constraints. The complete kind of the new element is defined as the union of all stereotypes added to the element. Extended values are the attributes of the extended element. A KDM element with one or more stereotypes is equivalent to a situation in which KDM has been extended by adding a new meta-model class that extends the base class, with the new attributes corresponding to the tag definitions.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089899"></A>Example:</H6>
<P CLASS="example">
<A NAME="pgfId-1090015"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090016"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090320"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090321"></A>	xmlns:action=&quot;http://kdm.omg.org/action&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090322"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090323"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; name=&quot;Stereotype Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090017"></A>  &lt;extensionFamily xmi:id=&quot;id.0&quot; name=&quot;Example extensions&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090018"></A>    &lt;stereotype xmi:id=&quot;id.1&quot; name=&quot;Java method&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090019"></A>    &lt;stereotype xmi:id=&quot;id.2&quot; name=&quot;C++ method&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090020"></A>    &lt;stereotype xmi:id=&quot;id.3&quot; name=&quot;C++ procedure&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090021"></A>    &lt;stereotype xmi:id=&quot;id.4&quot; name=&quot;C++ friend&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090022"></A>      &lt;tag xmi:id=&quot;id.5&quot; tag=&quot;friend_of&quot; type=&quot;ClassUnit&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090023"></A>    &lt;/stereotype&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090024"></A>    &lt;stereotype xmi:id=&quot;id.6&quot; name=&quot;IsFriendOf&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090025"></A>    &lt;stereotype xmi:id=&quot;id.7&quot; name=&quot;native call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090026"></A>      &lt;tag xmi:id=&quot;id.8&quot; tag=&quot;implemented in&quot; type=&quot;String&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090027"></A>    &lt;/stereotype&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090028"></A>  &lt;/extensionFamily&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090029"></A>  &lt;model xmi:id=&quot;id.9&quot; xmi:type=&quot;code:CodeModel&quot; name=&quot;Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090030"></A>    &lt;codeElement xmi:id=&quot;id.10&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;myclass&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090031"></A>      &lt;codeElement xmi:id=&quot;id.11&quot; xmi:type=&quot;code:MethodUnit&quot; stereotype=&quot;id.2&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090324"></A>			name=&quot;foo&quot; type=&quot;id.12&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090032"></A>        &lt;codeElement xmi:id=&quot;id.12&quot; xmi:type=&quot;code:Signature&quot; name=&quot;foo&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090033"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090034"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090035"></A>    &lt;codeElement xmi:id=&quot;id.13&quot; xmi:type=&quot;code:CallableUnit&quot; stereotype=&quot;id.4 id.3&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090325"></A>			name=&quot;bar&quot; type=&quot;id.16&quot; kind=&quot;regular&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090036"></A>      &lt;taggedValue xmi:id=&quot;id.14&quot; xmi:type=&quot;kdm:TaggedRef&quot; tag=&quot;id.5&quot; reference=&quot;id.10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090037"></A>      &lt;codeRelation xmi:id=&quot;id.15&quot; xmi:type=&quot;code:CodeRelationship&quot; stereotype=&quot;id.6&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1090326"></A>			 to=&quot;id.10&quot; from=&quot;id.13&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090038"></A>      &lt;codeElement xmi:id=&quot;id.16&quot; xmi:type=&quot;code:Signature&quot; name=&quot;bar&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090039"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090040"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090041"></A>  &lt;model xmi:id=&quot;id.17&quot; xmi:type=&quot;code:CodeModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090042"></A>    &lt;codeElement xmi:id=&quot;id.18&quot; xmi:type=&quot;code:ClassUnit&quot; stereotype=&quot;id.1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090043"></A>      &lt;codeElement xmi:id=&quot;id.19&quot; xmi:type=&quot;code:MethodUnit&quot; stereotype=&quot;id.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090327"></A>			name=&quot;foobar&quot; type=&quot;id.23&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090044"></A>        &lt;codeElement xmi:id=&quot;id.20&quot; xmi:type=&quot;action:ActionElement&quot; stereotype=&quot;id.7&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1090328"></A>			 name=&quot;a1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090045"></A>          &lt;actionRelation xmi:id=&quot;id.21&quot; xmi:type=&quot;action:Calls&quot; stereotype=&quot;id.7&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1090329"></A>				to=&quot;id.13&quot; from=&quot;id.20&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090046"></A>            &lt;taggedValue xmi:id=&quot;id.22&quot; xmi:type=&quot;kdm:TaggedValue&quot; tag=&quot;id.8&quot; value=&quot;C&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090047"></A>          &lt;/actionRelation&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090048"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090049"></A>        &lt;codeElement xmi:id=&quot;id.23&quot; xmi:type=&quot;code:Signature&quot; name=&quot;foobar&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090050"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090051"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090052"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1090053"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090013"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088877"></A><A NAME="_Toc131848159"></A>TagDefinition Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1088878"></A>Lightweight extensions allows information to be attached to any model element in the form of a &quot;tagged value&quot; pair, (i.e., name=value). The interpretation of tagged value semantics is outside of the scope of KDM. It must be determined by the user or tool conventions. It is expected that tools will define tags to supply information needed for their operations beyond the basic semantics of KDM. Such information could include specific entities, relationships and attributes for a particular programming language, runtime platform or engineering environment.</P>
<P CLASS="Body">
<A NAME="pgfId-1088879"></A>Even though TaggedValues is a simple and straightforward extension technique, their use restricts semantic interchange of extended information about existing software systems to only those tools that share a common understanding of the specific tagged value names.</P>
<P CLASS="Body">
<A NAME="pgfId-1088880"></A>Each Stereotype owns the optional set of TagDefinitions. Each TagDefinition provides the name of the tag and the name of the KDM type of the corresponding value.</P>
<P CLASS="Body">
<A NAME="pgfId-1088881"></A>In the meta-model, TagDefinition is a subclass of Element.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088882"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088883"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088884"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1088894"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088887"></A>tag:String </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088889"></A>Contains the name of the tagged value. This name determines the semantics that are applicable to the contents of the value attribute.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088891"></A>type:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088893"></A>Specifies the type of the value attribute.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088895"></A>Constraints</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1089915"></A>The &quot;value&quot; attribute of the TaggedValue should be valid according to the type specified in the corresponding TagDefinition. </LI>
<LI CLASS="List1-">
<A NAME="pgfId-1089916"></A>The target of the &quot;ref&quot; association of the TaggedRef should be of the type specified in the corresponding TagDefinition, or one of its subtypes.</LI>
<LI CLASS="List1-">
<A NAME="pgfId-1089918"></A>If the type of the TaggedDefinition is one of the primitive datatypes (for example, &quot;BooleanType&quot;, &quot;StringType&quot;, &quot;IntegerType&quot;) the corresponding value should be an instance of the TaggedValue class. </LI>
<LI CLASS="List1-">
<A NAME="pgfId-1089919"></A>If the type of the TaggedDefinition is a names of some other KDM meta-elements (for example, &quot;KDMEntity&quot;, or &quot;Audit&quot;) the corresponding value should be an instance of the TaggedRef class.</LI>
</OL>
<P CLASS="paragraph">
<A NAME="pgfId-1089906"></A>&nbsp;</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088896"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1089935"></A>ExtendedValues provide the values of the extended attributes and associations of the extended meta-model element defined by one or more stereotypes.</P>
<P CLASS="Body">
<A NAME="pgfId-1089936"></A>Names of the tags, defined by each stereotype constitute an isolated namespace which does not interfere with the names of other stereotypes or the names of the attributes of the base type. The meaning and the intention of the stereotypes and tags is outside of the KDM specification and should be communicated by implementers to the users of the extended models. Extensions should not change the semantics of the base KDM meta-model elements, so that the model with extensions can still be interpreted as an approximation of the full extended meaning when extensions are ignored and only the basic KDM semantic rules are applied.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088897"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090061"></A>See example in the Stereotype class section.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088899"></A><A NAME="_Toc131848160"></A>ExtensionFamily Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1088900"></A>ExtensionFamily provides a mechanism for managing lightweight extensions. ExtensionFamily acts a container for a set of related stereotypes and their corresponding tag definitions.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088902"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088903"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088904"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1088910"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088907"></A>name:String </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088909"></A>Provides the name of the extension family. </P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088911"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1088917"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088914"></A>stereotype:Stereotype[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088916"></A>The set of stereotypes that are owned by the extension family.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088918"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088919"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090082"></A>ExtensionFamily provides a named container for stereotype definitions. It is implementer's responsibility to arrange stereotype definitions into meaningful families. Some stereotype definitions may be made available as reusable assets in a separate segment. KDM analysis tools should not make any assumptions regarding the organization of stereotypes into families.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090069"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090070"></A>See example in the Stereotype class section.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090067"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088949"></A><A NAME="_Toc131848162"></A>ModelElement (additional properties)</H4>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088950"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1088960"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088953"></A>taggedValue:TaggedValue[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088955"></A>The set of tagged values determined by the stereotype.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088957"></A>stereotype:Stereotype[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088959"></A>The stereotype</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088961"></A>Constraints</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1088962"></A>Each tagged value added to a ModelElement must conform to a certain tag definition owned by the stereotype of that ModelElement (the tag association of the TaggedValue should refer to a TaggedDefinition that is owned by a Stereotype of the ModelElement). A tagged value conforms to a tag definition when the value conforms to the type of the TagDefinition. Conformance of lightweight extensions can only be validated dynamically by a suitable KDM import tool, since lightweight extensions are not defined by the KDM standard.</LI>
<LI CLASS="List1-">
<A NAME="pgfId-1090093"></A>stereotype can be associated with a certain instance of a ModelElement if the type of the ModelElement is the same as the type property in the stereotype definition, or one of its subclasses</LI>
</OL>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090098"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090099"></A>See example in the Stereotype class section.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089998"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1089299"></A>ExtendedValues class diagram</H3>
<P CLASS="paragraph">
<A NAME="pgfId-1090186"></A>ExtendedValues class diagram defines additional meta-model constructs as part of the KDM light-weight extension mechanism. These constructs represent extended values that can be added to extended KDM model elements. The key of the light-weight extension mechanism is a meta-model construct called stereotype. Stereotypes provide additional meaning to KDM meta-model constructs. While the meaning o a stereotype is not defined within the KDM, stereotypes allow differentiation within existing KDM metamodel elements and allow adding attributes to them with extended value construct. </P>
<P CLASS="paragraph">
<A NAME="pgfId-1090187"></A>The classes and associations involved in the definition of extended values are shown at <A HREF="KDM_1.0_10_kdmpkg.htm#72864" CLASS="XRef">See - ExtendedValue Class Diagram.</A>.</P>
<P CLASS="Body">
<A NAME="pgfId-1090191"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_10_kdmpkg-4.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1089331"></A><A NAME="72864"></A>- ExtendedValue Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1089347"></A>ExtendedValue class (abstract)</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1089348"></A>ExtendedValue class is an abstract superclass for the two concrete classes that represent tagged values: the TaggedValue and the TaggedRef. ExtendedValue class defines common properties for these classes.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089394"></A>Superclass</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089395"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089396"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1089379"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089372"></A>tag [1]:TagDefinition</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089374"></A>the reference to the tag definition of the corresponding stereotype</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090228"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090215"></A>ExtendedValue is a &quot;virtual&quot; attribute to an extended KDM meta-model element. ExtendedValue element represents the value of the attribute. KDM defines two concrete subclasses of ExtendedValue: TaggedValue and TaggedRef. The definition of the attribute is provided by the TagDefinition element owned by a Stereotype element. The Stereotype element defines the &quot;virtual&quot; meta-model element which provides the context for the new attributes. &quot;Virtual&quot; attributes are instantiated every time a new &quot;virtual&quot; meta-model element, defined by a Stereotype is instantiated. This is an important difference between ExtendedValues and KDM attributes, which are not related to any particular meta-model element.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090216"></A>The TagDefinition element defines constraint on the possible values of the ExtendedValue by specifying the type of the allowed values. </P>
<P CLASS="paragraph">
<A NAME="pgfId-1089353"></A>Each instance of ExtendedValue has an association to the corresponding TagDefinition.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090233"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1089403"></A><A NAME="_Toc131848161"></A>TaggedValue Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1089404"></A>A tagged value allows information to be attached to any model element in the form of a &quot;tagged value&quot; pair, (i.e., name=value). The interpretation of tagged value semantics is outside of the scope of KDM. It must be determined by the user or tool conventions. It is expected that tools will define tags to supply information needed for their operations beyond the basic semantics of KDM. Such information could include specific entities, relationships and attributes for a particular programming language, runtime platform or engineering environment.</P>
<P CLASS="Body">
<A NAME="pgfId-1089405"></A>Each TaggedValue must conform to the corresponding TagDefinition. In the meta-model, TaggedValue is a subclass of Element.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089406"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1089407"></A>ExtendedValue</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089408"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1089418"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089415"></A>Value:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089417"></A>Contains the current value of the TaggedValue.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
<A NAME="pgfId-1089419"></A>&nbsp;</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089428"></A>Constraints</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090108"></A>The value of the TaggedValue instance should conform to the type of the corresponding TagDefinition</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089441"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090241"></A>TaggedValue element represents simple atomic &quot;virtual&quot; attributes. The type constraint of the value, defined in the corresponding TagDefinition can be the name of any KDM primitive type, for example &quot;StringType&quot;, &quot;BooleanType&quot;, etc.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090104"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090105"></A>See example in the Stereotype class section.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090102"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1089450"></A>TaggedRef class</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1089451"></A>A TaggedRef allows information to be attached to any model element in the form of a reference to another exiting model element. Each TaggedRef must conform to the corresponding TagDefinition: the actual type of the model element that is the target of the TaggedRef must be same as the type specified in the corresponding TagDefinition, or one of its subtypes. In the meta-model, TaggedRef is a subclass of ExtendedValue. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089452"></A>Superclass </H6>
<P CLASS="paragraph">
<A NAME="pgfId-1089453"></A>ExtendedValue</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089454"></A>Associations </H6>
<P CLASS="Body">
<A NAME="pgfId-1089477"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089474"></A>ref:ModelElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="paragraph">
<A NAME="pgfId-1089486"></A>Designates the model element referred to by the extended value.</P>
</TD>
</TR>
</TABLE>
<P CLASS="paragraph">
<A NAME="pgfId-1089478"></A>&nbsp;</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089456"></A>Constraints:</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1089457"></A>The model element that is the target of the ref association must be of the type, specified by the type attribute of the tag definition that is the target of the tag association of the tagged ref element.</LI>
</OL>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090262"></A>Semantics:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090263"></A>TagRef represents complex &quot;virtual&quot; attributes, which are associations to other KDM elements. TagDefinition can be a name of any KDM meta-model element, for example, &quot;KDMEntity&quot;, &quot;AbstractCodeElement&quot;, &quot;ControlElement&quot;, or &quot;CallableUnit&quot;.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090264"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090265"></A>See example in the Stereotype class section.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1089442"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1089446"></A><A NAME="_Toc119735817"></A><A NAME="_Toc119728763"></A><A NAME="_Toc131848163"></A>Annotations Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1089948"></A>The Annotation class diagram defines meta-model elements that allow ad hoc user-defined attributes and annotations to instances of KDM elements. The mechanism of ad hoc user-defined attributes provides a capability to add pairs &lt;tag, value&gt; to an individual element instance. This is complimentary to the light-weight extension mechanism, which provides a new meta-model element, each instance of which has &lt;tag, value&gt; pair specified by the definition of the extended element. An ad hoc user-defined attribute is owned to an individual element instance. This means that different instances of the same meta-model element may own completely different user-defined attributes (and some may have none at all). </P>
<P CLASS="Body">
<A NAME="pgfId-1089949"></A>An Annotation is an ad hoc note owned by an individual element instance. Annotations and attributes are applied to the elements of KDM instances. They may be used by implementer to add specific information to an individual element. They may also be used by an analyst, annotating a given KDM instance. On the other hand, stereotypes and tag definitions as first defined as extensions to the KDM (meta-model) and then systematically used by the implementer.</P>
<P CLASS="Body">
<A NAME="pgfId-1088972"></A>The classes and associations that make up the Annotations diagram are shown in <A HREF="KDM_1.0_10_kdmpkg.htm#39281" CLASS="XRef">See - Annotations Class Diagram.</A>. </P>
<P CLASS="Body">
<A NAME="pgfId-1088976"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_10_kdmpkg-5.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1088978"></A><A NAME="39281"></A>- Annotations Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1088980"></A><A NAME="_Toc131848164"></A>Attribute Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1088981"></A>An attribute allows information to be attached to any model element in the form of a &quot;tagged value&quot; pair (i.e., name=value). Attribute add information to the instances of model elements, as opposed to stereotypes and tagged values, which apply to meta-model elements. Tagged value is part of the extension mechanism (stereotypes define virtual new model element, and tagged values specify additional attributes of these virtual model elements). Tagged values are only associated with model elements branded by a stereotype, and the set of tagged values for a particular instance of a model element is determined by its stereotype. On the other hand, arbitrary attributes may be associated with individual instances of model element. In particular, two different instances of the same model element may be annotated by different attributes. </P>
<P CLASS="Body">
<A NAME="pgfId-1088983"></A>In the meta-model, TaggedValue is a subclass of Element.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088984"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1088985"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088986"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1088996"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088989"></A>tag:Name </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088991"></A>Contains the name of the attribute. This name determines the semantics that are applicable to the contents of the value attribute.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1088993"></A>value:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1088995"></A>Contains the current value of the attribute.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088997"></A>Constraints</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1089632"></A>Attribute can not have further annotations or attributes</LI>
</OL>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1088998"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1090128"></A>The interpretation of attribute semantics is outside the scope of KDM. It must be determined by the user or the implementer conventions. It is expected that some tools will provide capability to add arbitrary attributes to the instances of the model to supply information needed for their operations beyond the basic semantics of KDM. Such information could support analysis of KDM models by analysis, etc.</P>
<P CLASS="Body">
<A NAME="pgfId-1090274"></A>An attribute element is not related to a particular meta-model element. It does not define a &quot;virtual&quot; attribute to an extended meta-model element, that is instantiated with every instantiation of the new element. Instead, an attribute element can be added to any KDM element. It defines a property of a particular instance, not a property of a class of instances.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090116"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090117"></A>See example in the KDMFramework section.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090114"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1089000"></A><A NAME="_Toc131848165"></A>Annotation Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1089001"></A>Annotations allow textual descriptions to be attached to any instance of a model element. The meta-model Annotation class is a subclass of Element. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089002"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1089003"></A>Element</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089004"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1089010"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089007"></A>text:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089009"></A>Contains the text of the annotation to the target model element.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
<A NAME="pgfId-1089011"></A>&nbsp;</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089012"></A>Constraints</H6>
<OL>
<LI CLASS="List1">
<A NAME="pgfId-1089618"></A>Annotation can not have further annotations or attributes</LI>
</OL>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089013"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090135"></A>Annotation allows associating a human-readable text with an instance of any Element.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1090139"></A>Example:</H6>
<P CLASS="Body">
<A NAME="pgfId-1090140"></A>See example in the KDMFramework section.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1090136"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1089015"></A><A NAME="_Toc131848166"></A>Element (additional properties)</H4>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089016"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1089026"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089019"></A>attribute:Attribute[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089021"></A>The set of attributes owned by the given element.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1089023"></A>annotation:Annotation[0..*] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="TableText">
<A NAME="pgfId-1089025"></A>The set of annotations owned by the given element.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089027"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1089028"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1090137"></A>No assumptions should be made regarding the order of attributes or annotations associated with a particular instance.</P>
<P CLASS="Body">
<A NAME="pgfId-1088609"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
</BODY>
</HTML>
